<?php

/* @var $this yii\web\View */

use yii\helpers\Html;

$this->title = '关于我们';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="page-banner page-banner-about">
    <h1><?=Html::decode($this->title)?></h1>
</div>
<!--/page-banner-->
<ul class="box-main page-nav">
    <li><a href="<?=Yii::$app->homeUrl?>"><?=Yii::$app->name?></a></li>
    <li><span><?=Html::decode($this->title)?></span></li>
</ul>
<!--/page-nav-->
<div class="box-main box-white pa-15 clearfix">
    <div class="about-main">
        <div class="title-blue"><?=Html::decode($this->title)?></div>
        <div class="con">
            <?=$about?>
        </div>
    </div>
    <!--/about-main-->
    <div class="about-history">
        <div class="title-blue">发展历程</div>
        <?php foreach ($history as $v): ?>
            <div class="item">
                <div class="main">
                    <h5><?=date('Y年m月', $v['time'])?></h5>
                    <div class="con"><?=$v['title']?></div>
                    <?php $pics = explode(',', $v['pics']);?>
                    <?php foreach ($pics as $pic): ?>
                        <?php if (!empty($pic)): ?>
                            <figure class="useThumb">
                                <img src="/uploads/<?=\app\core\widgets\webuploader\Picture::getPic($pic)['path']?>" onerror="this.src='/uploads/empty.jpg'" alt="" class="img-responsive">
                            </figure>
                        <?php endif; ?>
                    <?php endforeach; ?>
                </div>
            </div>
        <?php endforeach; ?>

    </div>
    <!--/about-history-->
</div>
<!--/box-main-->
